﻿/// <reference path="_namespace.js" />

/*****************************************************************************
Ajaxna library Interface definition.
Author: krobinson 11/19/2008 10:56:39 PM.
Class:  ajax.xna.framework.IGraphicsDeviceManager
*****************************************************************************/

$addNamespace("ajax.xna.framework");
//-----------------------------------------------------------------------------

ajax.xna.framework.IGraphicsDeviceManager = function() { }; // ctor should be blank.
$extend("ajax.xna.framework.IGraphicsDeviceManager", ""); // You may also inherit from another interface.
//-----------------------------------------------------------------------------

// Public Methods
//-----------------------------------------------------------------------------
// TODO: Specify your interface here. 
// Note: The Prototype is written long hand (as usual) in case you did specify a base class. Just stub them out with parameter signatures.
ajax.xna.framework.IGraphicsDeviceManager.prototype.beginDraw = function()
{///<summary>Starts the drawing of a frame.</summary>
    ///<returns type="boolean">true if the frame should be drawn; false otherwise.</returns>
};
ajax.xna.framework.IGraphicsDeviceManager.prototype.createDevice = function()
{///<summary>Called to ensure that the device manager has created a valid device.</summary>
};
ajax.xna.framework.IGraphicsDeviceManager.prototype.endDraw = function()
{///<summary>Called by the game at the end of drawing; presents the final rendering.</summary>
}

// Statics
//-----------------------------------------------------------------------------
ajax.xna.framework.IGraphicsDeviceManager.cast = function(obj)
{///<returns type="ajax.xna.framework.IGraphicsDeviceManager"/>
    return obj;
}